package com.xiaozhengkeji.mc.xzlib.module;


import org.bukkit.command.CommandExecutor;
import org.bukkit.plugin.java.JavaPlugin;

public class CommandModule {
    public void reg(JavaPlugin 注册类, String 触发指令, CommandExecutor 处理类) {
        注册类.getCommand(触发指令).setExecutor(处理类);
    }
}
